				<?php $landingpagefeaturedproduct = new WP_Query('post_type=product&meta_key=_sku&meta_value='.$landingpagefeaturedproductsku.'&posts_per_page=1');  ?>
					<?php if ($landingpagefeaturedproduct->have_posts()) { ?>
						<?php while ($landingpagefeaturedproduct->have_posts()) : $landingpagefeaturedproduct->the_post(); ?>
                        
                        	<?php
								$featuredproductsku = get_post_custom($post->ID);
								$fprodsku = $featuredproductsku['_sku'];
								foreach ( $fprodsku as $fprodsku );
								$featuredproductlistprice = get_post_custom($post->ID);
								$fprodlistprice = $featuredproductlistprice['_regular_price'];
								foreach ( $fprodlistprice as $fprodlistprice );
								$featuredproductprice = get_post_custom($post->ID);
								$fprodprice = $featuredproductprice['_sale_price'];
								foreach ( $fprodprice as $fprodprice );
							?>
                        	
                            <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
                            
							<?php 
								$fprodsavings = (($fprodlistprice - $fprodprice) / $fprodlistprice);
								$showfprodsavings = $fprodsavings * 100;
							?>
                            
                            <h4 style="font-size:20px;line-height:20px;margin-bottom:10px;margin-top:10px;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
                            
                            <table width="100%" cellpadding="0" cellspacing="0" border="0" style="text-align:center;margin-bottom:20px;">
                            	<tr>
                                	<td style="width:145px;height:30px;text-align:right;vertical-align:middle;font-size:30px;font-weight:bold;color:#263692;">
                                    	$<?php echo $fprodprice; ?>
                                    </td>
                                    <td style="width:10px;">&nbsp;</td>
                                    <td style="width:145px;height:30px;text-align:left;vertical-align:middle">
                                    	<span style="display:inline-block;width:100px;height:30px;line-height:30px;color:#ffffff;background:#263692;font-size:15px;clear:both;text-align:center;">Save <?php echo round($showfprodsavings); ?>%</span>
                                    </td>
                                </tr>
                            </table>
                            
                            <p><a class="button" href="<?php the_permalink(); ?>">View Details</a></p>
								
                                
					<?php endwhile ?>
				<?php } ?>
				<?php wp_reset_query() ?>